<!DOCTYPE html>
<html>

<head>
    <title>chat</title>
    <link rel='stylesheet' href='/stylesheets/style.css' />


</head>

<body>
    <div class="all">
        <div class="main">
            <div class="header">
                <img src="/images/logo.png" id="logo">
                <div style="display: inline-block;" class="loginname">
                    <% if (loginname) { %>
                        <%=loginname%>
                            <% } %>
                </div>
            </div>
            <div id="container">
                <div class="conversation">
                    <ul id="messages"></ul>
                    <form action="">
                        <div class="edit">
                        </div>
                        <!-- autocomplete禁用自动完成功能 -->
                        <textarea id="mContent"></textarea>
                        <button class="btn rBtn" id="sub">发送</button>
                        <button class="btn" id="clear">关闭</button>
                    </form>
                </div>
                <div class="contacts">
                    <h1>在线人员(
                        <span id="num">0</span>)</h1>
                    <ul id="users"></ul>
                    <p>当前无人在线哟~</p>
                </div>
            </div>
        </div>
    </div>

    <script src="/socket.io/socket.io.js"></script>
    <script src="/javascripts/chat.js"></script>

</body>

</html>